package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 产品编号表
 * </p>
 *
 * @author 小飞
 * @since 2019-06-27
 */
@TableName("product_order")
public class ProductOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品颜色
     */
    @TableField("color")
    private Long color;

    /**
     * 产品色号
     */
    @TableField("color_number")
    private Long colorNumber;

    /**
     * 产品材质
     */
    @TableField("material")
    private Long material;

    /**
     * 产品单位
     */
    @TableField("unit")
    private Long unit;

    /**
     * 产品价格
     */
    @TableField("price")
    private Long price;
    /**
     * 包装尺寸
     */
    @TableField("packageSize")
    private Long packageSize;

    /**
     * 最小单位
     */
    @TableField("unit_min")
    private Integer unitMin;

    /**
     * 最大单位
     */
    @TableField("unit_max")
    private Integer unitMax;

    /**
     * 单台体积
     */
    @TableField("unit_volume")
    private String unitVolume;

    /**
     * 单台毛重
     */
    @TableField("unit_weight")
    private String unitWeight;

    /**
     * 上市时间
     */
    @TableField("time_to_market")
    private Date timeToMarket;

    /**
     * 渠道
     */
    @TableField("channel")
    private Integer channel;
    /**
     * 报告
     */
    @TableField("report_certificate")
    private String reportCertificate;

    /**
     * 最低起订量
     */
    @TableField("min_order_amount")
    private BigDecimal minOrderAmount;

    /**
     * 最低销售价
     */
    @TableField("min_selling_price")
    private BigDecimal minSellingPrice;

    /**
     * 全国统一价格
     */
    @TableField("uniform_sales_price")
    private BigDecimal uniformSalesPrice;

    /**
     * 换算比例
     */
    @TableField("conversion_ratio")
    private String conversionRatio;

    /**
     * 货运尺码
     */
    @TableField("size")
    private Integer size;

    private String hSize;
    /**
     * 产品名
     */
    @TableField("product_order_name")
    private String productOrderName;

    /**
     * 两地费
     */
    @TableField("bothfee")
    private BigDecimal bothfee;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    public String gethSzie() {
        return hSzie;
    }

    public void sethSzie(String hSzie) {
        this.hSzie = hSzie;
    }

    @TableField("h_size")
    private String hSzie;
    /**
     * 分类id
     */
    @TableField("kind_id")
    private Long kindId;

    public String getTwo() {
        return two;
    }

    public void setTwo(String two) {
        this.two = two;
    }

    public String getFour() {
        return four;
    }

    public void setFour(String four) {
        this.four = four;
    }

    public String getFourHQ() {
        return fourHQ;
    }

    public void setFourHQ(String fourHQ) {
        this.fourHQ = fourHQ;
    }

    @TableField("two")
    private  String two;
    @TableField("four")
    private  String four;
    @TableField("fourHQ")
    private  String fourHQ;

    /**
     * 图片路径
     */
    @TableField("pic_path")
    private String picPath;

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String gethSize() {
        return hSize;
    }

    public void sethSize(String hSize) {
        this.hSize = hSize;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getColor() {
        return color;
    }

    public void setColor(Long color) {
        this.color = color;
    }

    public Long getColorNumber() {
        return colorNumber;
    }

    public void setColorNumber(Long colorNumber) {
        this.colorNumber = colorNumber;
    }

    public Long getMaterial() {
        return material;
    }

    public void setMaterial(Long material) {
        this.material = material;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getPackageSize() {
        return packageSize;
    }

    public void setPackageSize(Long packageSize) {
        this.packageSize = packageSize;
    }

    public Integer getUnitMin() {
        return unitMin;
    }

    public void setUnitMin(Integer unitMin) {
        this.unitMin = unitMin;
    }

    public Integer getUnitMax() {
        return unitMax;
    }

    public void setUnitMax(Integer unitMax) {
        this.unitMax = unitMax;
    }

    public String getUnitVolume() {
        return unitVolume;
    }

    public void setUnitVolume(String unitVolume) {
        this.unitVolume = unitVolume;
    }

    public String getUnitWeight() {
        return unitWeight;
    }

    public void setUnitWeight(String unitWeight) {
        this.unitWeight = unitWeight;
    }

    public Date getTimeToMarket() {
        return timeToMarket;
    }

    public void setTimeToMarket(Date timeToMarket) {
        this.timeToMarket = timeToMarket;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getReportCertificate() {
        return reportCertificate;
    }

    public void setReportCertificate(String reportCertificate) {
        this.reportCertificate = reportCertificate;
    }

    public BigDecimal getMinOrderAmount() {
        return minOrderAmount;
    }

    public void setMinOrderAmount(BigDecimal minOrderAmount) {
        this.minOrderAmount = minOrderAmount;
    }

    public BigDecimal getMinSellingPrice() {
        return minSellingPrice;
    }

    public void setMinSellingPrice(BigDecimal minSellingPrice) {
        this.minSellingPrice = minSellingPrice;
    }

    public BigDecimal getUniformSalesPrice() {
        return uniformSalesPrice;
    }

    public void setUniformSalesPrice(BigDecimal uniformSalesPrice) {
        this.uniformSalesPrice = uniformSalesPrice;
    }

    public String getConversionRatio() {
        return conversionRatio;
    }

    public void setConversionRatio(String conversionRatio) {
        this.conversionRatio = conversionRatio;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getProductOrderName() {
        return productOrderName;
    }

    public void setProductOrderName(String productOrderName) {
        this.productOrderName = productOrderName;
    }

    public BigDecimal getBothfee() {
        return bothfee;
    }

    public void setBothfee(BigDecimal bothfee) {
        this.bothfee = bothfee;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getKindId() {
        return kindId;
    }

    public void setKindId(Long kindId) {
        this.kindId = kindId;
    }

    @Override
    public String toString() {
        return "ProductOrder{" +
        "id=" + id +
        ", color=" + color +
        ", colorNumber=" + colorNumber +
        ", material=" + material +
        ", unit=" + unit +
        ", price=" + price +
        ", packageSize=" + packageSize +
        ", unitMin=" + unitMin +
        ", unitMax=" + unitMax +
        ", unitVolume=" + unitVolume +
        ", unitWeight=" + unitWeight +
        ", timeToMarket=" + timeToMarket +
        ", channel=" + channel +
        ", reportCertificate=" + reportCertificate +
        ", minOrderAmount=" + minOrderAmount +
        ", minSellingPrice=" + minSellingPrice +
        ", uniformSalesPrice=" + uniformSalesPrice +
        ", conversionRatio=" + conversionRatio +
        ", size=" + size +
        ", productOrderName=" + productOrderName +
        ", bothfee=" + bothfee +
        ", remark=" + remark +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", kindId=" + kindId +
        "}";
    }
}
